libxl: keep assigned pci devices across domain reboots
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 20 Sep 2018 10:40:25 +0000 (12:40 +0200)
committerWei Liu <wei.liu2@citrix.com>
Fri, 21 Sep 2018 16:13:00 +0000 (17:13 +0100)
commit99a9c70583bd6dc2555b242353821a32cf1948a9
tree3c81cf8ca8a91ffd9d4581b41aea56a68099da3a
parent94b8b2e09290cca0fcd8afd930f7f083458b1afe
libxl: keep assigned pci devices across domain reboots

Fill the from_xenstore libxl_device_type hook for PCI devices so that
libxl_retrieve_domain_configuration can properly retrieve PCI devices
from xenstore.

This fixes disappearing pci devices across domain reboots.

Reported-by: Andreas Kinzler <hfp@posteo.de>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_pci.c